//
//  YBCloudComputerBannerCell.swift
//  Moonlight
//
//  Created by Penlon Kim on 2023/6/8.
//  Copyright © 2023 Moonlight Game Streaming Project. All rights reserved.
//

import UIKit
import SnapKit

class YBCloudComputerBannerCell: UICollectionViewCell {
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        contentView.backgroundColor = .clear
        contentView.addSubview(imgView)
        imgView.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
        
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    // MARK: - lazy
    lazy var imgView: UIImageView = {
        let iv = UIImageView(image: UIImage(named: "icon_cloudcomputer_banner"))
        iv.contentMode = .scaleToFill
        iv.clipsToBounds = true
        iv.bk_cornerRadius = 5
        return iv
    }()
    
}
